/*
 * $Id: LocationImportTemplateDTModel.java 42 2013-04-17 15:33:59Z gabakyan $
 * $Author: gabakyan $
 * $Revision: 42 $
 * $Date: 2013-04-17 15:33:59 +0000 (Wed, 17 Apr 2013) $
 *
 * Copyright (c) 2013 Supply Chain Intelligence (SCI), Inc.
 * http://www.scintelligence.com/, Email: info@scintelligence.com
 * All rights reserved.
 *
 * This file is part of Logistics Map.
 *
 * Logistics Map is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, version 3 of the License.
 *
 * Logistics Map is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Logistics Map.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.sci.logisticsmap.service.model;

import java.io.Serializable;
import java.util.List;

/**
 * The Location import template model.
 *
 * @author gabakyan@gmail.com (Last modified by $Author: gabakyan $)
 * @version $Revision: 42 $
 */
@SuppressWarnings("unused")
public class LocationImportTemplateDTModel implements Serializable {
    /**
     * The serial version id.
     */
    private static final long serialVersionUID = 1L;

    /**
     * The id.
     */
    private String id;
    /**
     * The name.
     */
    private String name;
    /**
     * The description.
     */
    private String description;

    /**
     * The file type.
     */
    private String fileType;
    /**
     * The delimiter.
     */
    private String delimiter;
    /**
     * The qualifier.
     */
    private String qualifier;

    /**
     * The primary.
     */
    private boolean primary;
    /**
     * The default flag.
     */
    private boolean defaultFlag;

    /**
     * The fields.
     */
    private List<Field> fields;

    /**
     * Gets the id.
     *
     * @return The id.
     */
    public String getId() {
        return id;
    }

    /**
     * Sets the id.
     *
     * @param id The id.
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * Gets the name.
     *
     * @return The name.
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the name.
     *
     * @param name The name.
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Gets the description.
     *
     * @return The description.
     */
    public String getDescription() {
        return description;
    }

    /**
     * Sets the description.
     *
     * @param description The description.
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * Gets the file type.
     *
     * @return The file type.
     */
    public String getFileType() {
        return fileType;
    }

    /**
     * Sets the file type.
     *
     * @param fileType The file type.
     */
    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    /**
     * Gets the delimiter.
     *
     * @return The delimiter.
     */
    public String getDelimiter() {
        return delimiter;
    }

    /**
     * Sets the delimiter.
     *
     * @param delimiter The delimiter.
     */
    public void setDelimiter(String delimiter) {
        this.delimiter = delimiter;
    }

    /**
     * Gets the qualifier.
     *
     * @return The qualifier.
     */
    public String getQualifier() {
        return qualifier;
    }

    /**
     * Sets the qualifier.
     *
     * @param qualifier The qualifier.
     */
    public void setQualifier(String qualifier) {
        this.qualifier = qualifier;
    }

    /**
     * Gets the primary.
     *
     * @return The primary.
     */
    public boolean isPrimary() {
        return primary;
    }

    /**
     * Sets the primary.
     *
     * @param primary The primary.
     */
    public void setPrimary(boolean primary) {
        this.primary = primary;
    }

    /**
     * Gets the default flag.
     *
     * @return The default flag.
     */
    public boolean isDefaultFlag() {
        return defaultFlag;
    }

    /**
     * Sets the default flag.
     *
     * @param defaultFlag The default flag.
     */
    public void setDefaultFlag(boolean defaultFlag) {
        this.defaultFlag = defaultFlag;
    }

    /**
     * Gets the fields.
     *
     * @return The fields.
     */
    public List<Field> getFields() {
        return fields;
    }

    /**
     * Sets the fields.
     *
     * @param fields The fields.
     */
    public void setFields(List<Field> fields) {
        this.fields = fields;
    }

    /**
     * The class <code>LocationImportTemplateDTModel.Field</code> represents the Location import template model field.
     */
    public class Field implements Serializable {
        /**
         * The serial version id.
         */
        private static final long serialVersionUID = 1L;

        /**
         * The type.
         */
        private String type;

        /**
         * Gets the type.
         *
         * @return The type.
         */
        public String getType() {
            return type;
        }

        /**
         * Sets the type.
         *
         * @param type The type.
         */
        public void setType(String type) {
            this.type = type;
        }
    }
}
